package com.wus.system.config.properties;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.stereotype.Component;

/**
 * @Description: 公共配置的属性统一获取类，便于配置变动时可以根据@RefreshScope注解及时被刷新
 * @Author: wus
 * @Date: 2024/12/9 11:46
 */
/*@RefreshScope
@Component
@Data
public class CommonConfigProperties {

    @Value("${var.var1}")
    String var1;
}*/
